var noicon1=document.getElementById('u381_img');
var notext1=document.getElementById('u379_text');
var yeicon1=document.getElementById('u380_img');
var yetext1=document.getElementById('u378_text');

var noicon2=document.getElementById('u393_img');
var notext2=document.getElementById('u391_text');
var yeicon2=document.getElementById('u392_img');
var yetext2=document.getElementById('u390_text');

var noicon3=document.getElementById('u405_img');
var notext3=document.getElementById('u403_text');
var yeicon3=document.getElementById('u404_img');
var yetext3=document.getElementById('u402_text');

var noicon4=document.getElementById('u417_img');
var notext4=document.getElementById('u415_text');
var yeicon4=document.getElementById('u416_img');
var yetext4=document.getElementById('u414_text');

var noicon5=document.getElementById('u429_img');
var notext5=document.getElementById('u427_text');
var yeicon5=document.getElementById('u428_img');
var yetext5=document.getElementById('u426_text');

var noicon6=document.getElementById('u441_img');
var notext6=document.getElementById('u439_text');
var yeicon6=document.getElementById('u440_img');
var yetext6=document.getElementById('u438_text');

var home=document.getElementById('u448_img');
var person=document.getElementById('u447_img');
var edit=document.getElementById('u449_img');
var switchicon=document.getElementById('u445_img');
function clickno1(){  
    noicon1.onclick=function(){
        noicon1.style.display="none";
        //  notext1.style.display="none";
        yeicon1.style.display="none";
        yetext1.style.display="none";
         notext1.innerHTML="审核未过,已驳回";
    }
}
function clickiye1(){  
    yeicon1.onclick=function(){
        noicon1.style.display="none";
        //  notext1.style.display="none";
        yeicon1.style.display="none";
        yetext1.style.display="none";
        notext1.style.color="#0D9B1B"
         notext1.innerHTML="审核通过,已发布";
    }
}

function clickno2(){  
    noicon2.onclick=function(){
        noicon2.style.display="none";
        //  notext1.style.display="none";
        yeicon2.style.display="none";
        yetext2.style.display="none";
         notext2.innerHTML="审核未过,已驳回";
    }
}
function clickiye2(){  
    yeicon2.onclick=function(){
        noicon2.style.display="none";
        //  notext1.style.display="none";
        yeicon2.style.display="none";
        yetext2.style.display="none";
        notext2.style.color="#0D9B1B"
         notext2.innerHTML="审核通过,已发布";
    }
}

function clickno3(){  
    noicon3.onclick=function(){
        noicon3.style.display="none";
        //  notext1.style.display="none";
        yeicon3.style.display="none";
        yetext3.style.display="none";
         notext3.innerHTML="审核未过,已驳回";
    }
}
function clickiye3(){  
    yeicon3.onclick=function(){
        noicon3.style.display="none";
        //  notext1.style.display="none";
        yeicon3.style.display="none";
        yetext3.style.display="none";
        notext3.style.color="#0D9B1B"
         notext3.innerHTML="审核通过,已发布";
    }
}

function clickno4(){  
    noicon4.onclick=function(){
        noicon4.style.display="none";
        //  notext1.style.display="none";
        yeicon4.style.display="none";
        yetext4.style.display="none";
         notext4.innerHTML="审核未过,已驳回";
    }
}
function clickiye4(){  
    yeicon4.onclick=function(){
        noicon4.style.display="none";
        //  notext1.style.display="none";
        yeicon4.style.display="none";
        yetext4.style.display="none";
        notext4.style.color="#0D9B1B"
         notext4.innerHTML="审核通过,已发布";
    }
}

function clickno5(){  
    noicon5.onclick=function(){
        noicon5.style.display="none";
        //  notext1.style.display="none";
        yeicon5.style.display="none";
        yetext5.style.display="none";
         notext5.innerHTML="审核未过,已驳回";
    }
}
function clickiye5(){  
    yeicon5.onclick=function(){
        noicon5.style.display="none";
        //  notext1.style.display="none";
        yeicon5.style.display="none";
        yetext5.style.display="none";
        notext5.style.color="#0D9B1B"
         notext5.innerHTML="审核通过,已发布";
    }
}

function clickno6(){  
    noicon6.onclick=function(){
        noicon6.style.display="none";
        //  notext1.style.display="none";
        yeicon6.style.display="none";
        yetext6.style.display="none";
         notext6.innerHTML="审核未过,已驳回";
    }
}
function clickiye6(){  
    yeicon6.onclick=function(){
        noicon6.style.display="none";
        //  notext1.style.display="none";
        yeicon6.style.display="none";
        yetext6.style.display="none";
        notext6.style.color="#0D9B1B"
         notext6.innerHTML="审核通过,已发布";
    }
}

function sitichto(){
    switchicon.onclick=function(){
        window.location.href="../html/blogCheck.html"
    }
}

function sitichtohome(){
    home.onclick=function(){
        window.location.href="../html/index.html"
    }
}

function sitichtoperson(){
    person.onclick=function(){
        window.location.href="../personalPage/index.html"
    }
}

function sitichtoedit(){
    edit.onclick=function(){
        window.location.href="../html/zjh/blogEdit.html"
    }
}

function init(){
clickiye1();
clickno1();
clickiye2();
clickno2();
clickiye3();
clickno3();
clickiye4();
clickno4();
clickiye5();
clickno5();
clickiye6();
clickno6();
sitichto();
sitichtohome();
sitichtoperson();
sitichtoedit();
}
init();
